.w {
    width: 1240px;
    margin: 0 auto;
}

body {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;


}

.top {
    margin-top: 10px;
}

.top a {

    font-size: 14px;
    color: #666;
}

 .w {
    width: 1240px;
    margin: 0 auto;
}



/* 轮播图板块 */
.swiper {
    margin-top: 5px;
    width: 1240px;
    height: 500px;
}

.swiper {
    --swiper-theme-color: #fff;

    /* 两种都可以 */
}

/* 全部分类 */
.sub-list {
    margin-top: 50px;
    background-color: white;
    text-align: center;
}

.sub-list h3 {
    padding: 20px 0;
    font-size: 28px;
    color: #666;
    font-weight: normal;
}

.sub-list ul {
    padding: 20px 0;
    height: 160px;
    display: flex;
    justify-content: left;
}

.sub-list li {
    margin-left: 10px;
    width: 168px;
    height: 160px;

}

.sub-list li img {
    width: 100px;
    height: 100px;
}

.sub-list li p {
    font-size: 16px;
    color: #999999;
}

/* 家庭清洁板块 */
.ref-goods {
    height: 457px;
    margin-top: 30px;
    background-color: #fff;
    text-align: center;
    position: relative;

}

.ref-goods h3 {
    padding: 30px 0;
    font-size: 28px;
    color: #666;
    font-weight: normal;

}

.ref-goods .tag {
    text-align: center;
    color: #999;
    font-size: 20px;
    position: relative;
    top: -20px;
    /* margin-top: 30px; */
}

.ref-goods span {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: #999;
    position: absolute;
    top: 30px;
    right: 41px;
}

.ref-goods ul {
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
}

.ref-goods li {
    padding: 0 20px;
    text-align: center;
    width: 220px;
    height: 300px;

}

.ref-goods li img {

    width: 160px;
    height: 160px;
}

.ref-goods .name {

    text-indent: 0.5em;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.ref-goods .desc {
    text-indent: 1em;
    color: rgb(153, 153, 153);
    margin-top: 14px;
    font-size: 14px;
}

.ref-goods .price {
    color: rgb(207, 68, 68);
    margin-top: 10px;
    font-size: 20px;
}

/* 毛巾浴巾 */
.ref-goodsd {
    height: 457px;
    margin-top: 30px;
    background-color: #fff;
    text-align: center;
    position: relative;


}

.ref-goodsd h3 {
    padding: 30px 0;
    font-size: 28px;
    color: #666;
    font-weight: normal;

}

.ref-goodsd .tag {
    text-align: center;
    color: #999;
    font-size: 20px;
    position: relative;
    top: -20px;

}

.ref-goodsd span {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: #999;
    position: absolute;
    top: 30px;
    right: 41px;
}

.ref-goodsd ul {
    margin-left: 20px;
    margin-top: 40px;
    display: flex;

}

.ref-goodsd li {

    padding: 0 20px;
    text-align: center;
    width: 220px;
    height: 300px;

}

.ref-goodsd li img {

    width: 160px;
    height: 160px;
}

.ref-goodsd .name {

    text-indent: 0.5em;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.ref-goodsd .desc {
    text-indent: 1em;
    color: rgb(153, 153, 153);
    margin-top: 14px;
    font-size: 14px;
}

.ref-goodsd .price {
    color: rgb(207, 68, 68);
    margin-top: 10px;
    font-size: 20px;
}

li:hover {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    transform: translate3d(0, -4px, 0);
    cursor: pointer;
}

.xtx_footer .xtx_contact dl dd {
    font-size: 12px;
}